{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang admin_basic_optimizer:admin}</h3>
	</div>
	{template common/info}
	<div class="setform">
		<form class="pzform" action="{url admin/basicoptimizer?act=save}" method="post">
			
			<div class="formgroup">
				<label class="formlabel">{lang cachetime_default:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="cachetime_default" name="cachetime_default" value="$setting['cachetime_default']"/>
				</div>
				<span class="formhelp">{lang cachetime_default_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang cachetime_homealbum:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="cachetime_homealbum" name="cachetime_homealbum" value="$setting['cachetime_homealbum']"/>
				</div>
				<span class="formhelp">{lang cachetime_homealbum_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang cachetime_homeuser:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="cachetime_homeuser" name="cachetime_homeuser" value="$setting['cachetime_homeuser']"/>
				</div>
				<span class="formhelp">{lang cachetime_homeuser_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang cachetime_footercount:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="cachetime_footercount" name="cachetime_footercount" value="$setting['cachetime_footercount']"/>
				</div>
				<span class="formhelp">{lang cachetime_footercount_tip:admin}</span>
			</div>
			
			
			<div class="formgroup">
				<label class="formlabel">{lang like_search:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="like_search" value="1" {if $setting['like_search']=='1'}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="like_search" value="0" {if $setting['like_search']=='0'}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang like_search_tip:admin}</span>
			</div>
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}